package com.sf.dlb.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 新闻分类表 Entity
 *
 * Created by jing.tan on 2018/5/21.
 */
@Entity
@Table(name = "new_get_recod")
public class NewGetRecodInfo extends BaseEntity {
	/*
	  `task_id` varchar(64) DEFAULT NULL COMMENT '任务id',
	  `start_time` datetime DEFAULT NULL COMMENT '抓取开始时间',
	  `end_time` datetime DEFAULT NULL COMMENT '抓取结束时间',
	  `get_count` INTEGER DEFAULT 0 COMMENT '抓取数量',
	  `filter_count` INTEGER DEFAULT 0 COMMENT '过滤数量',
	  `repeat_count` INTEGER DEFAULT 0 COMMENT '去重数量',
	  `offset` bigint(10) DEFAULT NULL COMMENT '数据偏移量',
  	  `size` bigint(10) DEFAULT NULL COMMENT '要获取的数据量',
	 */
	private static final long serialVersionUID = 1L;
	private String taskId;		// 任务id
	private Date startTime;			// 抓取开始时间
	private Date endTime;    	 	// 抓取结束时间
	private Integer getCount;		// 抓取数量
	private Integer filterCount;		// 过滤数量
	private Integer repeatCount;		// 去重数量
	private Integer offset;			// 数据偏移量
	private Integer size;			// 要获取的数据量

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getGetCount() {
		return getCount;
	}

	public void setGetCount(Integer getCount) {
		this.getCount = getCount;
	}

	public Integer getFilterCount() {
		return filterCount;
	}

	public void setFilterCount(Integer filterCount) {
		this.filterCount = filterCount;
	}

	public Integer getRepeatCount() {
		return repeatCount;
	}

	public void setRepeatCount(Integer repeatCount) {
		this.repeatCount = repeatCount;
	}

	public Integer getOffset() {
		return offset;
	}

	public void setOffset(Integer offset) {
		this.offset = offset;
	}

	public Integer getSize() {
		return size;
	}

	public void setSize(Integer size) {
		this.size = size;
	}
}